package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName("rl_road_maintainer")
@ApiModel(value = "RoadMaintainer对象")
public class RoadMaintainer implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("路段-运维员关联表 主键 自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("路段id")
    private Long roadId;

    @ApiModelProperty("运维人员id")
    private Long maintainerId;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
